package com.ttg.web.dao;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ttg.model.po.BankPublicMerchTradePrimitivePO;
import com.ttg.model.pojo.BankPublicMerchTradePrimitive;
import com.ttg.model.vo.MerchTradePrimitiveSumVO;
import com.ttg.model.vo.MerchAcctInfoVO;

import java.util.List;

/**
 * (TblBankPublicTradePrimitive) dao
 *
 * @author chenyou
 * @datetime 2025-10-13 13:40:46
 */
public interface BankPublicMerchTradePrimitiveDao extends IService<BankPublicMerchTradePrimitive>{

    List<MerchTradePrimitiveSumVO> getParam(BankPublicMerchTradePrimitivePO po);

    List<Long> getMerchNos(BankPublicMerchTradePrimitivePO po);

    boolean deleteByDay(int day);

    boolean deleteByDays(List<Integer> days);

    List<MerchAcctInfoVO> getAcctInfoByMctNos(Integer date,List<String> mctNos);

    List<MerchAcctInfoVO> getAcctNoByMctNosAndMonth(Integer firstDay, Integer lastDay, List<String> mctNos);

    List<String> getMctNosByMonth(Integer firstDay, Integer lastDay);

    List<MerchTradePrimitiveSumVO> getMerchTradeInfoByMonth(Integer firstDay, Integer lastDay, List<String> mctNos);
}

